package com.coding.kan_yi_dao.service;

import com.coding.kan_yi_dao.common.Result;
import com.coding.kan_yi_dao.entity.GoodsOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 砍一刀，不买就砍你一刀
 * @since 2023-09-20
 */
public interface IGoodsOrderService extends IService<GoodsOrder> {
    //全查询
    Result go_select();

    //修改
    Result go_update(GoodsOrder goodsOrder);

    //配货完成
    Result go_update_shop(List<Integer> ids);

    //出库
    Result go_update_ck(List<Integer> ids);

    //批量删除
    Result go_deleteall(List<Integer> ids);

    //添加
    Result go_insert(GoodsOrder goodsOrder,List<Integer> ids,List<Integer> count);

    //订单查询
    Result go_order_item(Integer b);

}
